#pragma once

#include "stdafx.h"
#include "stdParticle.h"

class praticleManager
{
public:
	static praticleManager* Instance();
	void updata();
	void draw();
	void add(int num, int t, float s, Point p);
	void clear();
protected:
	praticleManager();
private:
	static praticleManager* _instance;
	list<stdParticle*> freeMem;
	list<stdParticle*> usingMem;
};